| Previous | Chapter contents | Chapter top | Section top | Next |
You can use the QTVRSetMouseDownTracking function to set the state of mouse-down tracking.
OSErr QTVRSetMouseDownTracking (QTVRInstance qtvr, Booleanenable);
The QTVRSetMouseDownTracking function sets the mouse-down tracking state of the QuickTime VR movie specified by the qtvr parameter to the state specified by the enable parameter. By default, QuickTime VR tracks mouse clicks in a QuickTime VR movie and triggers hot spots as appropriate. If you disable mouse-down tracking (by passing false in the enable parameter), you must call the QTVRMouseDown , QTVRMouseStillDown , and QTVRMouseUp functions at the appropriate times to handle user actions.
Use QTVRGetMouseDownTracking (link) to get the current mouse-down tracking state of a QuickTime VR movie.
| Previous | Chapter contents | Chapter top | Section top | Next |